package com.huaao.micropolice.core.model.system;

import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.Set;

import com.huaao.micropolice.core.model.content.Subject;

/**
 * @author qiyang
 * menu,subject联合起来 role查询使用
 * @version 1.0
 */
public class Menu_Subject implements Serializable{
	
	private String id;
	private Menu menu;
	private Subject subject;
	
	private Set<Role> roles = new LinkedHashSet<Role>();
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Menu getMenu() {
		return menu;
	}
	public void setMenu(Menu menu) {
		this.menu = menu;
	}
	public Subject getSubject() {
		return subject;
	}
	public void setSubject(Subject subject) {
		this.subject = subject;
	}
	public Set<Role> getRoles() {
		return roles;
	}
	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}
}
